package com.briup.ptp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.briup.ptp.entity.Pig;
import com.briup.ptp.entity.Slaughter;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @Classname SaughterService
 * @Description TODO
 * @Date 2024/2/23 16:33
 * @Created by 孙雅如
 * @Version v1.0.0
 */
@Service

public interface SlaughterService extends IService<Slaughter> {
    PageInfo<Slaughter> SlaughterQueryPage( String
            name, String pigSpecies,Integer pageNum, Integer pageSize);

    void saveSlaughter(Slaughter slaughter);

    void updateSlaughter(Integer id);

}
